const path = require('path')
module.exports = {
    entry: "./src/main.js",   //入口文件
    output: {
        filename: "bundle.js",
        path: path.join(__dirname, './dist'),
        mode: 'development'   //开发环境
    }
}